package com.qk.service;

import com.qk.commom.PageResult;
import com.qk.entity.Activity;

import java.util.List;

public interface ActivityService {
    PageResult<Activity> select(Integer channel, Integer type, Integer status, Integer page, Integer pageSize);

    void delete(Integer id);

    void add(Activity activity);

    Activity find(Integer id);

    void update(Activity activity);

    List<Activity> findByType(Integer type);
}
